package com.wjh.rules.common.conts;

/**
 * @ClassName OperatorConts
 * @Description: * == 等于
 * != 不等于
 * contains 包含
 * ncontains 不包含
 * in 列表范围的满足
 * noin 不在列表范围
 * @Author wjh
 * @Date 2020年6月19日
 */
public interface OperatorConts {

    /**
     * 字符串等于
     * alarmId == "33"
     */
    public static final String EQUAL = "=="; //OK


    /**
     * 字符串不等于
     * alarmId != "33"
     */
    public static final String NOT_EQUAL = "!=";//OK

    /**
     * 字符串包含
     * alarmId contains "33"
     */
    public static final String CONTAINS = "contains";//OK

    /**
     * 字符串不包含
     * alarmId ncontains "33"
     */
    public static final String NOT_CONTAINS = "notcontains"; //OK

    /**
     * 列表范围内:  alarmId in ("23","33")
     */
    public static final String IN = "in"; //OK

    /**
     * 不在列表范围内:  alarmId notin ("23","33")
     */
    public static final String NOT_IN = "notin";

    /**
     * 大于
     */
    public static final String GT = ">"; //OK

    /**
     * 大于等于
     */
    public static final String GTE = ">="; //OK

    /**
     * 小于
     */
    public static final String LT = "<"; //OK

    /**
     * 小于等于
     */
    public static final String LTE = "<="; //OK


    /**
     * 在区间
     */
    public static final String RANGE = "range";

    /**
     * 不在区间
     */
    public static final String NOT_RANGE = "notrange";


    /**
     * 模糊查询
     */
    public static final String LIKE = "like";

    /**
     * 不包含模糊
     */
    public static final String NOT_LIKE = "notlike";

}
